public class ifTest {
    public static void main(String[] args) {
        // int age = 20;
        String name = "jack";
        // if (age >= 20) {
        // System.out.println("he is a man");
        // } else {
        // System.out.println("he is a boy");
        // }

        // System.out.println((age >= 20) ? "man" : "boy");

        // if (age == 20) {
        // System.out.println("20" + (age == 20));
        // } else {
        // System.out.println("not 20" + (age == 20));
        // }
        System.out.println(name == "jack");

    }
}
